//
//  IsSafeData.h
//  General tools
//
//  Created by Flyer on 2016/8/9.
//  Copyright © 2016年 Flyer. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface IsSafeData : NSObject
// string array dictionary is nil return no
+ (BOOL)IsStringSate:(NSString *)string;
+ (BOOL)IsArraySafe:(NSArray*)array;
+ (BOOL)IsDictionarySafe:(NSDictionary*)dictionary;

// 是否文本内容为空
+ (BOOL)IsTextFieldEmpty:(NSString*)content;

// NSMutableArray 添加 object时保证不出错
+ (BOOL)arraySafeAddObject:(NSMutableArray*)array Object:(id)object;
+ (NSObject*)arraySafeGetObject:(NSArray*)array index:(NSUInteger)uiIndex;

+(NSString *)getUUID;

@end
